<!DOCTYPE html>
<html lang="zh-CN" class="no-js">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Arduino编程语句参考 &#8211;</title>
    <link rel='stylesheet' id='twentysixteen-style-css' href="wp-content/themes/twentysixteen/style.css-ver=20190507.css" />
    <style id="custom-background-css">
        body.custom-background { background-color: #45989d; }
	</style>
</head>

<body class="page-template-default page page-id-137 page-parent page-child parent-pageid-162 custom-background wp-embed-responsive">
    <div id="page" class="site">
            <br>
            <div id="content" class="site-content">
                    <main id="main" class="site-main" role="main">
                        <article id="post-137" class="post-137 page type-page status-publish hentry">
                            <header class="entry-header" style="text-align: center;">
                                <h1 class="entry-title">Arduino编程语句参考</h1>
                            </header><!-- .entry-header -->
                            <div class="widget-area">
                                <section id="search-2" class="widget widget_search">
                                    <form role="search" target=_blank method="get" class="search-form" action="http://www.taichi-maker.com/">
                                        <label>
                                            <span class="screen-reader-text">搜索：</span>
                                            <input type="search" class="search-field" placeholder="搜索…" value="" name="s" />
                                        </label>
                                        <button type="submit" class="search-submit"><span class="screen-reader-text">搜索</span></button>
                                    </form>
                                </section>
                            </div><!-- .widget-area -->
                            <br>
                            <div class="entry-content" style="text-align: center;">
                                <h4>Arduino程序可以分为三个主要部分:结构, 数值 (变量与常量) 和函数。</h4>
                                <table style="border: none;" width="100%" cellspacing="0" cellpadding="5">
                                    <tbody>
                                        <tr>
                                            <td style="border: none;text-align: center;" valign="top" width="33%">
                                                <h2><span style="color: #728e0d;">结构</span></h2>
                                                <p><a href="setup/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/setup/" target="_blank" rel="noopener noreferrer">setup()</a><br /><a href="loop/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/loop/" target="_blank" rel="noopener noreferrer">loop()</a></p>
                                                <h4><span style="color: #e67e31;">控制结构</span></h4>
                                                <p><a href="if/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/if/" target="_blank" rel="noopener noreferrer">if</a><br /><a href="if-else/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/if-else/" target="_blank" rel="noopener noreferrer">if&#8230;else</a><br /><a href="for/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/for/" target="_blank" rel="noopener noreferrer">for</a><br /><a href="switch-case/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/switch-case/" target="_blank" rel="noopener noreferrer">switch case</a><br /><a href="while/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/while/" target="_blank" rel="noopener noreferrer">while</a><br /><a href="do-while/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/do-while/" target="_blank" rel="noopener noreferrer">do&#8230; while</a><br /><a href="break/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/break/" target="_blank" rel="noopener noreferrer">break</a><br /><a href="continue/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/continue/" target="_blank" rel="noopener noreferrer">continue</a><br /><a href="return/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/return/" target="_blank" rel="noopener noreferrer">return</a></p>
                                                <h4><span style="color: #e67e31;">进阶语法</span></h4>
                                                <p><a href="semicolon/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/semicolon/" target="_blank" rel="noopener noreferrer">; (分号)</a><br /><a href="curly-braces/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/curly-braces/" target="_blank" rel="noopener noreferrer">{} (大括号)</a><br /><a href="comment/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/comment/" target="_blank" rel="noopener noreferrer">// (单行注释)</a><br /><a href="comment/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/comment/" target="_blank" rel="noopener noreferrer">/* */ (多行注释)</a><br /><a href="define/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/define/" target="_blank" rel="noopener noreferrer">#define</a><br /><a href="include/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/include/" target="_blank" rel="noopener noreferrer">#include</a></p>
                                                <h4><span style="color: #e67e31;">算术运算符</span></h4>
                                                <p><a href="assignment-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/assignment-operator/" target="_blank" rel="noopener noreferrer">= (赋值运算符 )</a><br /><a href="math-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/math-operator/" target="_blank" rel="noopener noreferrer">+ (加法运算)</a><br /><a href="math-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/math-operator/" target="_blank" rel="noopener noreferrer">&#8211; (减法运算)</a><br /><a href="math-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/math-operator/" target="_blank" rel="noopener noreferrer">* (乘法运算)</a><br /><a href="math-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/math-operator/" target="_blank" rel="noopener noreferrer">/ (除法运算)</a><br /><a href="modulo/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/modulo/" target="_blank" rel="noopener noreferrer">% (取模运算)</a></p>
                                                <h4><span style="color: #e67e31;">关系运算符</span></h4>
                                                <p><a href="comparison-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/comparison-operator/" target="_blank" rel="noopener noreferrer">== (等于)</a><br /><a href="comparison-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/comparison-operator/" target="_blank" rel="noopener noreferrer">!= (不等于)</a><br /><a href="comparison-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/comparison-operator/" target="_blank" rel="noopener noreferrer">&lt; (小于)</a><br /><a href="comparison-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/comparison-operator/" target="_blank" rel="noopener noreferrer">&gt; (大于)</a><br /><a href="comparison-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/comparison-operator/" target="_blank" rel="noopener noreferrer">&lt;= (小于等于)</a><br /><a href="comparison-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/comparison-operator/" target="_blank" rel="noopener noreferrer">&gt;= (大于等于)</a></p>
                                                <h4><span style="color: #e67e31;">布尔运算符</span></h4>
                                                <p><a href="boolean-operators/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/boolean-operators/" target="_blank" rel="noopener noreferrer">&amp;&amp; (与)</a><br /><a href="boolean-operators/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/boolean-operators/" target="_blank" rel="noopener noreferrer">|| (或)</a><br /><a href="boolean-operators/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/boolean-operators/" target="_blank" rel="noopener noreferrer">! (非)</a></p>
                                                <h4><a href="pointer/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/pointer/"><span style="color: #e67e31;"><strong>指针</strong></span></a></h4>
                                                <p><a href="pointer/pointer-concept/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/pointer/pointer-concept/" target="_blank" rel="noopener noreferrer">指针的概念</a><br /><a href="pointer/pointer-variable/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/pointer/pointer-variable/">指针变量</a></p>
                                                <h4><span style="color: #e67e31;">位运算符</span></h4>
                                                <p><a href="bitand-bitor-bitxor/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitand-bitor-bitxor/">&amp; (位与)</a><br /><a href="bitand-bitor-bitxor/index.htm#bitor" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitand-bitor-bitxor/#bitor">| (位或)</a><br /><a href="bitand-bitor-bitxor/index.htm#bitxor" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitand-bitor-bitxor/#bitxor">^ (位异或)</a><br /><a href="bitand-bitor-bitxor/index.htm#bitnot" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitand-bitor-bitxor/#bitnot">~ (位非)</a><br /><a href="bitshift/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitshift/" target="_blank" rel="noopener noreferrer">&lt;&lt; (位左移)</a><br /><a href="bitshift/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitshift/" target="_blank" rel="noopener noreferrer">&gt;&gt; (位右移)</a></p>
                                                <h4><span style="color: #e67e31;">复合运算符</span></h4>
                                                <p><a href="compound-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/compound-operator/" target="_blank" rel="noopener noreferrer">++ (自加)</a><br /><a href="compound-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/compound-operator/" target="_blank" rel="noopener noreferrer">&#8212; (自减)</a><br /><a href="compound-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/compound-operator/" target="_blank" rel="noopener noreferrer">+= (复合加)</a><br /><a href="compound-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/compound-operator/" target="_blank" rel="noopener noreferrer">-= (复合减)</a><br /><a href="compound-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/compound-operator/" target="_blank" rel="noopener noreferrer">*= (复合乘)</a><br /><a href="compound-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/compound-operator/" target="_blank" rel="noopener noreferrer">/= (复合除)</a><br /><a href="compound-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/compound-operator/" target="_blank" rel="noopener noreferrer">&amp;= (复合与)</a><br /><a href="compound-operator/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/compound-operator/" target="_blank" rel="noopener noreferrer">|= (复合或)</a></p>
                                            </td>
                                            <td style="border: none;text-align: center;" valign="top" width="33%">
                                                <h2><span style="color: #45989d;">数值</span></h2>
                                                <h4><span style="color: #e67e31;">常量</span></h4>
                                                <p><a href="high/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/high/" target="_blank" rel="noopener noreferrer">HIGH</a> | <a href="low/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/low/" target="_blank" rel="noopener noreferrer">LOW</a><br /><a href="input/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/input/" target="_blank" rel="noopener noreferrer">INPUT</a> | <a href="output/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/output/" target="_blank" rel="noopener noreferrer">OUTPUT</a>| <a href="input_pullup/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/input_pullup/" target="_blank" rel="noopener noreferrer">INPUT_PULLUP</a><br /><a href="true-false/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/true-false/" target="_blank" rel="noopener noreferrer">true</a> | <a href="true-false/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/true-false/" target="_blank" rel="noopener noreferrer">false</a><br /><a href="integer-constants/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/integer-constants/" target="_blank" rel="noopener noreferrer">整数常量</a><br /><a href="floating-point-const/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/floating-point-const/" target="_blank" rel="noopener noreferrer">浮点数常量</a></p>
                                                <h4><span style="color: #e67e31;">数据类型(<a href="data-types/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/data-types/" target="_blank" rel="noopener noreferrer">简介</a>)</span></h4>
                                                <p><a href="void/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/void/" target="_blank" rel="noopener noreferrer">void</a><br /><a href="boolean/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/boolean/" target="_blank" rel="noopener noreferrer">boolean </a>布尔型<br /><a href="char/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/char/" target="_blank" rel="noopener noreferrer">char</a> 字符型<br /><a href="unsigned-char/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/unsigned-char/" target="_blank" rel="noopener noreferrer">unsigned char </a>无符号字符型<br /><a href="byte/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/byte/" target="_blank" rel="noopener noreferrer">byte </a>字节型<br /><a href="int/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/int/" target="_blank" rel="noopener noreferrer">int</a> 整型<br /><a href="word/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/word/" target="_blank" rel="noopener noreferrer">word </a>字型<br /><a href="long/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/long/" target="_blank" rel="noopener noreferrer">long</a> 长整型<br /><a href="unsigned-long/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/unsigned-long/" target="_blank" rel="noopener noreferrer">unsigned long </a>无符号长整型<br /><a href="float/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/float/" target="_blank" rel="noopener noreferrer">float</a> 浮点型<br /><a href="double/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/double/" target="_blank" rel="noopener noreferrer">double </a>双精度浮点型<br /><a href="string/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/string/">string 字符串 </a>字符串型<br /><a href="array/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/array/" target="_blank" rel="noopener noreferrer">array</a> 数组</p>
                                                <h4><span style="color: #e67e31;">转换</span></h4>
                                                <p><a href="conversion/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/conversion/" target="_blank" rel="noopener noreferrer">char()</a><br /><a href="conversion/index.htm#byte" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/conversion/#byte" target="_blank" rel="noopener noreferrer">byte()</a><br /><a href="conversion/index.htm#int" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/conversion/#int" target="_blank" rel="noopener noreferrer">int()</a><br /><a href="conversion/index.htm#word" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/conversion/#word" target="_blank" rel="noopener noreferrer">word()</a><br /><a href="conversion/index.htm#long" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/conversion/#long" target="_blank" rel="noopener noreferrer">long()</a><br /><a href="conversion/index.htm#float" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/conversion/#float" target="_blank" rel="noopener noreferrer">float()</a></p>
                                                <h4><span style="color: #e67e31;">变量范围与限定符</span></h4>
                                                <p><a href="variable-scope/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/variable-scope/">变量作用域</a><br /><a href="static/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/static/">static &#8211; 静态变量</a><br /><a href="volatile/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/volatile/" target="_blank" rel="noopener noreferrer">volatile &#8211; 易变变量</a><br /><a href="const/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/const/" target="_blank" rel="noopener noreferrer">const &#8211; 常量</a></p>
                                                <h4><span style="color: #e67e31;">工具</span></h4>
                                                <p><a href="sizeof/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/sizeof/" target="_blank" rel="noopener noreferrer">sizeof()</a></p>
                                            </td>
                                            <td style="border: none;text-align: center;" valign="top" width="33%">
                                                <h2><span style="color: #d3552d;">函数</span></h2>
                                                <h4><span style="color: #e67e31;">通信</span></h4>
                                                <p><a href="stream/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/stream/" target="_blank" rel="noopener noreferrer">Stream</a><br /><a href="serial/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/serial/" target="_blank" rel="noopener noreferrer">Serial/串行通讯</a><br /><a href="ascii-code-table/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/ascii-code-table/" target="_blank" rel="noopener noreferrer">ASCII字符代码表</a></p>
                                                <h4><span style="color: #e67e31;">数字 I/O</span></h4>
                                                <p><a href="pinmode/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/pinmode/" target="_blank" rel="noopener noreferrer">pinMode()</a><br /><a href="digitalwrite/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/digitalwrite/" target="_blank" rel="noopener noreferrer">digitalWrite()</a><br /><a href="digitalread/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/digitalread/" target="_blank" rel="noopener noreferrer">digitalRead()</a></p>
                                                <h4><span style="color: #e67e31;">模拟 I/O</span></h4>
                                                <p><a href="analogread/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/analogread/" target="_blank" rel="noopener noreferrer">analogRead()</a><br /><a href="analogwrite/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/analogwrite/" target="_blank" rel="noopener noreferrer">analogWrite()</a> &#8211; PWM</p>
                                                <h4><span style="color: #e67e31;">高级 I/O</span></h4>
                                                <p><a href="tone/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/tone/" target="_blank" rel="noopener noreferrer">tone()</a><br /><a href="notone/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/notone/" target="_blank" rel="noopener noreferrer">noTone()</a><br /><a href="shiftout/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/shiftout/" target="_blank" rel="noopener noreferrer">shiftOut()</a><br /><a href="shiftin/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/shiftin/" target="_blank" rel="noopener noreferrer">shiftIn()</a><br /><a href="pulsein/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/pulsein/" target="_blank" rel="noopener noreferrer">pulseIn()</a></p>
                                                <h4><span style="color: #e67e31;">时间</span></h4>
                                                <p><a href="millis/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/millis/" target="_blank" rel="noopener noreferrer">millis()</a><br /><a href="micros/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/micros/" target="_blank" rel="noopener noreferrer">micros()</a><br /><a href="delay/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/delay/" target="_blank" rel="noopener noreferrer">delay()</a><br /><a href="delaymicroseconds/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/delaymicroseconds/" target="_blank" rel="noopener noreferrer">delayMicroseconds()</a></p>
                                                <h4><span style="color: #e67e31;">数学</span></h4>
                                                <p><a href="min/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/min/" target="_blank" rel="noopener noreferrer">min() 最小值</a><br /><a href="max/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/max/" target="_blank" rel="noopener noreferrer">max() 最大值</a><br /><a href="abs/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/abs/" target="_blank" rel="noopener noreferrer">abs() 绝对值</a><br /><a href="constrain/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/constrain/" target="_blank" rel="noopener noreferrer">constrain() 数值限制</a><br /><a href="map/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/map/">map() 映射函数</a><br /><a href="pow/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/pow/" target="_blank" rel="noopener noreferrer">pow() 指数函数</a><br /><a href="sqrt/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/sqrt/" target="_blank" rel="noopener noreferrer">sqrt() 开方函数</a></p>
                                                <h4><span style="color: #e67e31;">三角函数</span></h4>
                                                <p><a href="trigonometry/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/trigonometry/">sin() -正弦函数</a><br /><a href="trigonometry/index.htm#cos" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/trigonometry/#cos">cos() -余弦函数</a><br /><a href="trigonometry/index.htm#tan" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/trigonometry/#tan">tan() -正切函数</a></p>
                                                <h4><span style="color: #e67e31;">随机数</span></h4>
                                                <p><a href="random/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/random/" target="_blank" rel="noopener noreferrer">random()</a><br /><a href="randomseed/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/randomseed/" target="_blank" rel="noopener noreferrer">randomSeed()</a></p>
                                                <h4><span style="color: #e67e31;">位与字节</span></h4>
                                                <p><a href="lowbyte-highbyte/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/lowbyte-highbyte/" target="_blank" rel="noopener noreferrer">lowByte()</a><br /><a href="lowbyte-highbyte/index.htm#highbyte" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/lowbyte-highbyte/#highbyte" target="_blank" rel="noopener noreferrer">highByte()</a><br /><a href="bitread-bitwrite/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitread-bitwrite/" target="_blank" rel="noopener noreferrer">bitRead()</a><br /><a href="bitread-bitwrite/index.htm#bitwrite" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitread-bitwrite/#bitwrite" target="_blank" rel="noopener noreferrer">bitWrite()</a><br /><a href="bitset-bitclear/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitset-bitclear/" target="_blank" rel="noopener noreferrer">bitSet()</a><br /><a href="bitset-bitclear/index.htm#bitclear" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bitset-bitclear/#bitclear" target="_blank" rel="noopener noreferrer">bitClear()</a><br /><a href="bit/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/bit/" target="_blank" rel="noopener noreferrer">bit()</a></p>
                                                <h4><span style="color: #e67e31;">外部中断</span></h4>
                                                <p><a href="attachinterrupt/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/attachinterrupt/" target="_blank" rel="noopener noreferrer">attachInterrupt()</a> &#8211; 设置中断<br /><a href="detachinterrupt/index.htm" tppabs="http://www.taichi-maker.com/homepage/reference-index/arduino-code-reference/detachinterrupt/" target="_blank" rel="noopener noreferrer">detachInterrupt()</a> &#8211; 取消中断</p>
                                                <h4> </h4>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div><!-- .entry-content -->
                        </article><!-- #post-137 -->
                    </main><!-- .site-main -->
            </div><!-- .site-content --> 
    </div><!-- .site -->
</body>

</html>